﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace do_while语句
{
    class Program
    {
        static void Main(string[] args)
        {
            int[] a = new int[] { 166, 173, 171 };
            int x = 0;
            do
            {
                if (a[x] == 171)
                {
                    Console.WriteLine(x);
                }
                x++;
            } while (x < a.Length);
        }
    }
}
